package com.jrx.anytxn.param.enums;

/**
 * ClassName RightsTypeEnum
 *
 * @author lujianyou
 * @version 1.0
 * @description 权益类型枚举类
 * @date 2021/6/11 14:23
 **/
public enum RightsTypeEnum {

    /**
     * 按天免息
     */
    INTEREST_FREE_BY_DAY("01","按天免息"),
    /**
     * 按折扣免息
     */
    INTEREST_FREE_BY_DISCOUNT("02","按折扣免息"),
    /**
     * 会员类
     */ 
    MEMBER("03","会员类"),
    /**
     * 出行类
     */
    TRIP("04","出行类"),
    /**
     * 购物类
     */
    SHOPPING("05","购物类"),
    /**
     * 通用
     */
    GENERAL("06","通用"),
    /**
     * 特定类
     */
    SPECIFIC("07","特定类"),
    /**
     * 现金优惠券
     */
    CASH_COUPON("08","现金优惠券"),
    /**
     * 折扣优惠券
     */
    DISCOUNT_COUPON("09","折扣优惠券"),
    /**
     * 权益资格类
     */
    QUALIFICATION("10","权益资格类"),
    /**
     * 其他
     */
    OTHER("99","其他");

    private String code;
    private String msg;

    RightsTypeEnum(String code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
